﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	<meta charset="utf-8" />
    <script src="layer/layui.all.js"></script>
    <script>
        function opendal() {
            layer.open({
                type: 2,
                title: "聊天",
                shadeClose: true,
                shade: false,
                maxmin: true, //开启最大化最小化按钮
                area: ['650px', '550px'],
                content: 'signalRTest.html'
            });
        }
        function openMainWindow() {
            layer.open({
                type: 2,
                title: false,
                offset: "rb",
                shadeClose: false,
                closeBtn: 0,
                shade: false,
                maxmin: false, //开启最大化最小化按钮
                area: ['300px', '550px'],
                content: 'mainDialogForWin.html'
            });
        }
        openMainWindow();
    </script>
</head>
<body>
    <input id="Button1" type="button" value="打开" onclick="opendal()" />

    <input id="Button2" type="button" value="打开主面板" onclick="openMainWindow()" />

</body>
</html>
